package com.tangw.manage.dao;

import com.tangw.manage.model.User;

/**
 * 
 * @author TangW
 * 
 */
public interface UserDao {
	User getUserByUsernameAndPassword(String username, String password)
			throws Exception;

	String getPasswordByUsername(String username) throws Exception;

	boolean insertUser(User user) throws Exception;
}
